﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace SenGe.Web.Controllers
{
    /// <summary>
    /// 文章相关控制器
    /// </summary>
    [Authorize]
    public class ArticleController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult Add()
        {
            ViewData["MenuIndex"] = "/article/index";
            return View();
        }
    }
}
